<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>chigraph: lib/core/include/chi/ChiModule.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="chigraphDoxygenIcon.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">chigraph
   &#160;<span id="projectnumber">master</span>
   </div>
   <div id="projectbrief">Systems programming language written for beginners in LLVM</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('ChiModule_8hpp_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ChiModule.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ChiModule_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#ifndef CHI_CHI_MODULE_HPP</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#define CHI_CHI_MODULE_HPP</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="core_2include_2chi_2Fwd_8hpp.html">chi/Fwd.hpp</a>&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="HashFilesystemPath_8hpp.html">chi/Support/HashFilesystemPath.hpp</a>&quot;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;chi/Support/json.hpp&quot;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;boost/filesystem.hpp&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &lt;boost/utility/string_view.hpp&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;set&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;ctime&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacechi.html">chi</a> {</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structchi_1_1ChiModule.html">   24</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structchi_1_1ChiModule.html">ChiModule</a> {</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <a class="code" href="structchi_1_1ChiModule.html#ab4ae38ecae0ef9a760abb37ead43f7c6">ChiModule</a>(<a class="code" href="structchi_1_1Context.html">Context</a>&amp; contextArg, boost::filesystem::path moduleFullName);</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="structchi_1_1ChiModule.html#accb2ff65140708ed943ce167f95694c3">~ChiModule</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="structchi_1_1Result.html">Result</a> <a class="code" href="structchi_1_1ChiModule.html#afee9e0601769e3c88bc481186e260d63">nodeTypeFromName</a>(boost::string_view name, <span class="keyword">const</span> nlohmann::json&amp; jsonData,</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;                                    std::unique_ptr&lt;NodeType&gt;* toFill) = 0;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="structchi_1_1DataType.html">DataType</a> <a class="code" href="structchi_1_1ChiModule.html#a03aa9f90fafd384094861dfff13eba77">typeFromName</a>(boost::string_view name) = 0;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keyword">virtual</span> std::vector&lt;std::string&gt; <a class="code" href="structchi_1_1ChiModule.html#ad47cf06593a7af38d7639dc6413c7ad0">nodeTypeNames</a>() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keyword">virtual</span> std::vector&lt;std::string&gt; <a class="code" href="structchi_1_1ChiModule.html#af6103b045e29ce4283cabdeeb9c42ea9">typeNames</a>() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structchi_1_1ChiModule.html#a22ac89bd0e334cb920847973fa77e8ff">   58</a></span>&#160;    std::string <a class="code" href="structchi_1_1ChiModule.html#a22ac89bd0e334cb920847973fa77e8ff">shortName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mName; }</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structchi_1_1ChiModule.html#a92ab6d528ac41a91b6ac21ededfccc38">   61</a></span>&#160;    std::string <a class="code" href="structchi_1_1ChiModule.html#a92ab6d528ac41a91b6ac21ededfccc38">fullName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mFullName.generic_string(); }</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structchi_1_1ChiModule.html#aa47d2903bf43aa7b80740ebf91570fcf">   64</a></span>&#160;    boost::filesystem::path <a class="code" href="structchi_1_1ChiModule.html#aa47d2903bf43aa7b80740ebf91570fcf">fullNamePath</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mFullName; }</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structchi_1_1ChiModule.html#a5c28c9fe74ad3cb704b613843b267512">   68</a></span>&#160;    <a class="code" href="structchi_1_1Context.html">Context</a>&amp; <a class="code" href="structchi_1_1ChiModule.html#a5c28c9fe74ad3cb704b613843b267512">context</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> *mContext; }</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="structchi_1_1Result.html">Result</a> <a class="code" href="structchi_1_1ChiModule.html#a653e3aed05912857334655e06937b28d">addForwardDeclarations</a>(llvm::Module&amp; module) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="structchi_1_1Result.html">Result</a> <a class="code" href="structchi_1_1ChiModule.html#a987c71edb997c5f041f69622cb0c86fe">generateModule</a>(llvm::Module&amp; module) = 0;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structchi_1_1ChiModule.html#a9c0d4b1b54bca0194ea4061ae4883779">   83</a></span>&#160;    <span class="keyword">const</span> std::set&lt;boost::filesystem::path&gt;&amp; <a class="code" href="structchi_1_1ChiModule.html#a9c0d4b1b54bca0194ea4061ae4883779">dependencies</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mDependencies; }</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <a class="code" href="structchi_1_1Result.html">Result</a> <a class="code" href="structchi_1_1ChiModule.html#a61a5581c1a0a6467a24edde9eaaa60e0">addDependency</a>(boost::filesystem::path newDepFullPath);</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structchi_1_1ChiModule.html#a5d5d9b53f2c2a8f0df69da48e0cf4aab">   95</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="structchi_1_1ChiModule.html#a5d5d9b53f2c2a8f0df69da48e0cf4aab">removeDependency</a>(std::string depName) {</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        <span class="keywordflow">return</span> mDependencies.erase(std::move(depName)) == 1;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    }</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structchi_1_1ChiModule.html#adc6b4278af40c9f50890ff773decaf8f">  101</a></span>&#160;    std::time_t <a class="code" href="structchi_1_1ChiModule.html#adc6b4278af40c9f50890ff773decaf8f">lastEditTime</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mLastEditTime; }</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structchi_1_1ChiModule.html#af3cdb7e3d333fedc74ad862dcc5bca9f">  105</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="structchi_1_1ChiModule.html#af3cdb7e3d333fedc74ad862dcc5bca9f">updateLastEditTime</a>(std::time_t newLastEditTime = std::time(<span class="keyword">nullptr</span>)) {</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        mLastEditTime = newLastEditTime;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    }</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    boost::filesystem::path mFullName;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    std::string             mName;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <a class="code" href="structchi_1_1Context.html">Context</a>*                mContext;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    std::set&lt;boost::filesystem::path&gt; mDependencies;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    std::time_t mLastEditTime = 0;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;};</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;}  <span class="comment">// namespace chi</span></div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="preprocessor">#endif  // CHI_CHI_MODULE_HPP</span></div><div class="ttc" id="structchi_1_1ChiModule_html_a987c71edb997c5f041f69622cb0c86fe"><div class="ttname"><a href="structchi_1_1ChiModule.html#a987c71edb997c5f041f69622cb0c86fe">chi::ChiModule::generateModule</a></div><div class="ttdeci">virtual Result generateModule(llvm::Module &amp;module)=0</div><div class="ttdoc">Generate a llvm::Module from the module. </div></div>
<div class="ttc" id="core_2include_2chi_2Fwd_8hpp_html"><div class="ttname"><a href="core_2include_2chi_2Fwd_8hpp.html">Fwd.hpp</a></div><div class="ttdoc">Forward declares all the chigraph data types. </div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_af6103b045e29ce4283cabdeeb9c42ea9"><div class="ttname"><a href="structchi_1_1ChiModule.html#af6103b045e29ce4283cabdeeb9c42ea9">chi::ChiModule::typeNames</a></div><div class="ttdeci">virtual std::vector&lt; std::string &gt; typeNames() const =0</div><div class="ttdoc">Get the possible DataType names. </div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_afee9e0601769e3c88bc481186e260d63"><div class="ttname"><a href="structchi_1_1ChiModule.html#afee9e0601769e3c88bc481186e260d63">chi::ChiModule::nodeTypeFromName</a></div><div class="ttdeci">virtual Result nodeTypeFromName(boost::string_view name, const nlohmann::json &amp;jsonData, std::unique_ptr&lt; NodeType &gt; *toFill)=0</div><div class="ttdoc">Create a node type that is in the module from the name and json. </div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_a61a5581c1a0a6467a24edde9eaaa60e0"><div class="ttname"><a href="structchi_1_1ChiModule.html#a61a5581c1a0a6467a24edde9eaaa60e0">chi::ChiModule::addDependency</a></div><div class="ttdeci">Result addDependency(boost::filesystem::path newDepFullPath)</div><div class="ttdoc">Add a dependency to the module Loads the module from context() if it isn&amp;#39;t already loaded...</div><div class="ttdef"><b>Definition:</b> <a href="ChiModule_8cpp_source.html#l00013">ChiModule.cpp:13</a></div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_ab4ae38ecae0ef9a760abb37ead43f7c6"><div class="ttname"><a href="structchi_1_1ChiModule.html#ab4ae38ecae0ef9a760abb37ead43f7c6">chi::ChiModule::ChiModule</a></div><div class="ttdeci">ChiModule(Context &amp;contextArg, boost::filesystem::path moduleFullName)</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> <a href="ChiModule_8cpp_source.html#l00008">ChiModule.cpp:8</a></div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_accb2ff65140708ed943ce167f95694c3"><div class="ttname"><a href="structchi_1_1ChiModule.html#accb2ff65140708ed943ce167f95694c3">chi::ChiModule::~ChiModule</a></div><div class="ttdeci">virtual ~ChiModule()=default</div><div class="ttdoc">Destructor. </div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_ad47cf06593a7af38d7639dc6413c7ad0"><div class="ttname"><a href="structchi_1_1ChiModule.html#ad47cf06593a7af38d7639dc6413c7ad0">chi::ChiModule::nodeTypeNames</a></div><div class="ttdeci">virtual std::vector&lt; std::string &gt; nodeTypeNames() const =0</div><div class="ttdoc">Get the possible node type names. </div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_a92ab6d528ac41a91b6ac21ededfccc38"><div class="ttname"><a href="structchi_1_1ChiModule.html#a92ab6d528ac41a91b6ac21ededfccc38">chi::ChiModule::fullName</a></div><div class="ttdeci">std::string fullName() const</div><div class="ttdoc">Get the full name of the module. </div><div class="ttdef"><b>Definition:</b> <a href="ChiModule_8hpp_source.html#l00061">ChiModule.hpp:61</a></div></div>
<div class="ttc" id="structchi_1_1Context_html"><div class="ttname"><a href="structchi_1_1Context.html">chi::Context</a></div><div class="ttdoc">The class that handles the loading, creation, storing, and compilation of modules It also stores a LL...</div><div class="ttdef"><b>Definition:</b> <a href="Context_8hpp_source.html#l00055">Context.hpp:55</a></div></div>
<div class="ttc" id="structchi_1_1ChiModule_html"><div class="ttname"><a href="structchi_1_1ChiModule.html">chi::ChiModule</a></div><div class="ttdoc">An abstract class that represents a module of code in Chigraph Can be compiled to a llvm::Module...</div><div class="ttdef"><b>Definition:</b> <a href="ChiModule_8hpp_source.html#l00024">ChiModule.hpp:24</a></div></div>
<div class="ttc" id="HashFilesystemPath_8hpp_html"><div class="ttname"><a href="HashFilesystemPath_8hpp.html">HashFilesystemPath.hpp</a></div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_a9c0d4b1b54bca0194ea4061ae4883779"><div class="ttname"><a href="structchi_1_1ChiModule.html#a9c0d4b1b54bca0194ea4061ae4883779">chi::ChiModule::dependencies</a></div><div class="ttdeci">const std::set&lt; boost::filesystem::path &gt; &amp; dependencies() const</div><div class="ttdoc">Get the dependencies. </div><div class="ttdef"><b>Definition:</b> <a href="ChiModule_8hpp_source.html#l00083">ChiModule.hpp:83</a></div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_a653e3aed05912857334655e06937b28d"><div class="ttname"><a href="structchi_1_1ChiModule.html#a653e3aed05912857334655e06937b28d">chi::ChiModule::addForwardDeclarations</a></div><div class="ttdeci">virtual Result addForwardDeclarations(llvm::Module &amp;module) const =0</div><div class="ttdoc">Adds forward declartions for the functions in this module. </div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_af3cdb7e3d333fedc74ad862dcc5bca9f"><div class="ttname"><a href="structchi_1_1ChiModule.html#af3cdb7e3d333fedc74ad862dcc5bca9f">chi::ChiModule::updateLastEditTime</a></div><div class="ttdeci">void updateLastEditTime(std::time_t newLastEditTime=std::time(nullptr))</div><div class="ttdoc">Update the last edit time, signifying that it&amp;#39;s been edited. </div><div class="ttdef"><b>Definition:</b> <a href="ChiModule_8hpp_source.html#l00105">ChiModule.hpp:105</a></div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_aa47d2903bf43aa7b80740ebf91570fcf"><div class="ttname"><a href="structchi_1_1ChiModule.html#aa47d2903bf43aa7b80740ebf91570fcf">chi::ChiModule::fullNamePath</a></div><div class="ttdeci">boost::filesystem::path fullNamePath() const</div><div class="ttdoc">Get the full name of the module in a path. </div><div class="ttdef"><b>Definition:</b> <a href="ChiModule_8hpp_source.html#l00064">ChiModule.hpp:64</a></div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_a5d5d9b53f2c2a8f0df69da48e0cf4aab"><div class="ttname"><a href="structchi_1_1ChiModule.html#a5d5d9b53f2c2a8f0df69da48e0cf4aab">chi::ChiModule::removeDependency</a></div><div class="ttdeci">bool removeDependency(std::string depName)</div><div class="ttdoc">Remove a dependency Does not unload from context. </div><div class="ttdef"><b>Definition:</b> <a href="ChiModule_8hpp_source.html#l00095">ChiModule.hpp:95</a></div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_a03aa9f90fafd384094861dfff13eba77"><div class="ttname"><a href="structchi_1_1ChiModule.html#a03aa9f90fafd384094861dfff13eba77">chi::ChiModule::typeFromName</a></div><div class="ttdeci">virtual DataType typeFromName(boost::string_view name)=0</div><div class="ttdoc">Get a DataType from the name. </div></div>
<div class="ttc" id="namespacechi_html"><div class="ttname"><a href="namespacechi.html">chi</a></div><div class="ttdoc">The namespace where chigraph lives. </div><div class="ttdef"><b>Definition:</b> <a href="BitcodeParser_8hpp_source.html#l00012">BitcodeParser.hpp:12</a></div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_a5c28c9fe74ad3cb704b613843b267512"><div class="ttname"><a href="structchi_1_1ChiModule.html#a5c28c9fe74ad3cb704b613843b267512">chi::ChiModule::context</a></div><div class="ttdeci">Context &amp; context() const</div><div class="ttdoc">Get the Context that this module belongs to. </div><div class="ttdef"><b>Definition:</b> <a href="ChiModule_8hpp_source.html#l00068">ChiModule.hpp:68</a></div></div>
<div class="ttc" id="structchi_1_1DataType_html"><div class="ttname"><a href="structchi_1_1DataType.html">chi::DataType</a></div><div class="ttdoc">A type of data Loose wrapper around llvm::Type*, except it knows which ChiModule it&amp;#39;s in and it embed...</div><div class="ttdef"><b>Definition:</b> <a href="DataType_8hpp_source.html#l00017">DataType.hpp:17</a></div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_adc6b4278af40c9f50890ff773decaf8f"><div class="ttname"><a href="structchi_1_1ChiModule.html#adc6b4278af40c9f50890ff773decaf8f">chi::ChiModule::lastEditTime</a></div><div class="ttdeci">std::time_t lastEditTime() const</div><div class="ttdoc">Get the time that this module was last edited. </div><div class="ttdef"><b>Definition:</b> <a href="ChiModule_8hpp_source.html#l00101">ChiModule.hpp:101</a></div></div>
<div class="ttc" id="structchi_1_1ChiModule_html_a22ac89bd0e334cb920847973fa77e8ff"><div class="ttname"><a href="structchi_1_1ChiModule.html#a22ac89bd0e334cb920847973fa77e8ff">chi::ChiModule::shortName</a></div><div class="ttdeci">std::string shortName() const</div><div class="ttdoc">Get the short name of the module (the last bit) </div><div class="ttdef"><b>Definition:</b> <a href="ChiModule_8hpp_source.html#l00058">ChiModule.hpp:58</a></div></div>
<div class="ttc" id="structchi_1_1Result_html"><div class="ttname"><a href="structchi_1_1Result.html">chi::Result</a></div><div class="ttdoc">The result object, used for identifiying errors with good diagnostics. </div><div class="ttdef"><b>Definition:</b> <a href="Result_8hpp_source.html#l00072">Result.hpp:72</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_97aefd0d527b934f1d99a682da8fe6a9.html">lib</a></li><li class="navelem"><a class="el" href="dir_a2d5e495f4b604d04f57d90095a59dd6.html">core</a></li><li class="navelem"><a class="el" href="dir_a979adfa99d5a8626731f83d5067598b.html">include</a></li><li class="navelem"><a class="el" href="dir_afbc2aa4d9616322ddf4041ba4f8ade6.html">chi</a></li><li class="navelem"><a class="el" href="ChiModule_8hpp.html">ChiModule.hpp</a></li>
    <li class="footer">Generated on Sat Sep 16 2017 17:41:35 for chigraph by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
